SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 47797: When you use SAS/ACCESS® Interface to Oracle to create an Oracle table, the error "ORA-01031: insufficient privileges" occurs

DetailsHotfixAboutRate It

When you try to create an Oracle table using SAS/ACCESS® Interface to Oracle, you might receive the following error:

ERROR: Error attempting to CREATE a DBMS table. ERROR: ORACLE execute error: ORA-01031: insufficient privileges.

This problem occurs when the USERID= option in the LIBNAME statement and the SCHEMA= data set or LIBNAME option have the same value. The SQL procedure's CREATE TABLE statement, which is passed to Oracle, does not contain the schema, only the table name. Oracle then tries to create the table using the user ID's schema, where the user does not have permission.

To work around the issue, create the Oracle table using the SQL pass-through facility.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS/ACCESS Interface to OracleHP-UX IPF9.3 TS1M09.4 TS1M0
64-bit Enabled Solaris9.3 TS1M09.4 TS1M0
64-bit Enabled HP-UX9.3 TS1M09.4 TS1M0
64-bit Enabled AIX9.3 TS1M09.4 TS1M0
Windows Vista for x649.3 TS1M09.4 TS1M0
Windows Vista9.3 TS1M09.4 TS1M0
Windows 7 Ultimate x649.3 TS1M09.4 TS1M0
Windows 7 Ultimate 32 bit9.3 TS1M09.4 TS1M0
Windows 7 Professional x649.3 TS1M09.4 TS1M0
Windows 7 Professional 32 bit9.3 TS1M09.4 TS1M0
Windows 7 Home Premium x649.3 TS1M09.4 TS1M0
Windows 7 Home Premium 32 bit9.3 TS1M09.4 TS1M0
Windows 7 Enterprise x649.3 TS1M09.4 TS1M0
Windows 7 Enterprise 32 bit9.3 TS1M09.4 TS1M0
Microsoft Windows XP Professional9.3 TS1M09.4 TS1M0
Microsoft Windows Server 2008 for x649.3 TS1M09.4 TS1M0
Microsoft Windows Server 20089.3 TS1M09.4 TS1M0
Microsoft Windows Server 2003 for x649.3 TS1M09.4 TS1M0
Microsoft Windows Server 2003 Standard Edition9.3 TS1M09.4 TS1M0
Microsoft Windows Server 2003 Enterprise Edition9.3 TS1M09.4 TS1M0
Microsoft Windows Server 2003 Datacenter Edition9.3 TS1M09.4 TS1M0
Microsoft® Windows® for x649.3 TS1M09.4 TS1M0
z/OS9.3 TS1M09.4 TS1M0
Linux9.3 TS1M09.4 TS1M0
Linux for x649.3 TS1M09.4 TS1M0
Solaris for x649.3 TS1M09.4 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.